package com.hk.core.data.jpa.domain;

import java.time.LocalDateTime;


/**
 * 逻辑删除字段
 */
public interface DelectionPersistable<U> {

    void setDeletedState(Boolean deletedState);

    Boolean getDeletedState();

    void setDeletedBy(U user);

    U getDeletedBy();

    void setDeletedDate(LocalDateTime date);

    LocalDateTime getDeletedDate();

}
